package day03;
//此类是用于验证扩展运算符的测试demo
public class Test05 {
    public static void main(String[] args) {
        //4种扩展运算符+=，-=，*=，/=，%=
        int a = 10;

        a += 10;
        System.out.println(a);  //输出20

        a -= 10;
        System.out.println(a);  //输出10

        a *= 10;
        System.out.println(a);  //输出100

        a /= 10;
        System.out.println(a);  //输出10

        a %= 2;
        System.out.println(a);  //输出0
    }



}
